package com.qcy.serve.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qcy.common.annotation.Excel;
import com.qcy.common.core.domain.BaseEntity;

/**
 * 武器数据对象 weapon
 * 
 * @author qcy
 * @date 2025-09-25
 */
public class Weapon extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 基础伤害 */
    @Excel(name = "基础伤害")
    private String hurt;

    /** 优势射程 */
    @Excel(name = "优势射程")
    private String meter;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 射速 */
    @Excel(name = "射速")
    private String speed;

    /** 状态（0：禁用，1：启用） */
    @Excel(name = "状态", readConverterExp = "0=：禁用，1：启用")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setHurt(String hurt) 
    {
        this.hurt = hurt;
    }

    public String getHurt() 
    {
        return hurt;
    }

    public void setMeter(String meter) 
    {
        this.meter = meter;
    }

    public String getMeter() 
    {
        return meter;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setSpeed(String speed) 
    {
        this.speed = speed;
    }

    public String getSpeed() 
    {
        return speed;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("price", getPrice())
            .append("hurt", getHurt())
            .append("meter", getMeter())
            .append("image", getImage())
            .append("speed", getSpeed())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
